home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ASP Advantage 1993
/
The Association of Shareware Professionals Advantage CD-ROM 1993.iso
/
files
/
utilties
/
bmenu541
/
example2.bat
< prev
next >
Wrap
DOS Batch File
|
1990-09-17
|
523b
|
28 lines
echo off
echo.
echo Standard batch file example, with user defined colors...
echo.
echo usage: bmenu 10 40 -3 4 118 " Long Title " One Two Three Four
echo.
bmenu 10 40 -3 4 118 " Long Title " One Two Three Four
if errorlevel 4 goto f
if errorlevel 3 goto t
if errorlevel 2 goto w
if errorlevel 1 goto o
if errorlevel 0 goto esc
:f
echo Four was chosen
goto end
:t
echo Three was chosen
goto end
:w
echo Two was chosen
goto end
:o
echo One was chosen
goto end
:esc
echo ESC hit
:end